-- GENERATED SPELL FOR [Eldreth Seether] --


function spell0_11469(pUnit, Event) --@Crimson Fury,Self--
pUnit:FullCastSpellOnTarget(16843,pUnit)
pUnit:RegisterEvent('Sorts_11469', 4297, 1)
end

function spell1_11469(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(8269,pUnit)
pUnit:RegisterEvent('Sorts_11469', 684, 1)
end

function Sorts_11469(pUnit, Event)
local choix_sorts_11469 = math.random(0, 1)
if choix_sorts_11469 == 0 then
pUnit:RegisterEvent('spell0_11469', 1, 1)
end
if choix_sorts_11469 == 1 then
pUnit:RegisterEvent('spell1_11469', 1, 1)
end
end

function mob11469_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11469', math.random(1500, 3000), 1)
end

function mob11469_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11469_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11469_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11469, 1, 'mob11469_Action')
RegisterUnitEvent(11469, 2, 'mob11469_Leave')
RegisterUnitEvent(11469, 3, 'mob11469_Kill')
RegisterUnitEvent(11469, 4, 'mob11469_Die')
